package cn.homework.day08;

import java.util.HashMap;

public class Test05 {
    public static void main(String[] args) {
        HashMap<String, HashMap<String, HashMap<Integer, Double>>> maps = new HashMap<>();
        HashMap<Integer, Double> m1 = new HashMap<>();
        m1.put(2, 200.5);
        HashMap<Integer, Double> m2 = new HashMap<>();
        m2.put(1, 300.8);
        HashMap<Integer, Double> m3 = new HashMap<>();
        m3.put(3, 300.2);
        HashMap<Integer, Double> m4 = new HashMap<>();
        m4.put(5, 400.0);
        HashMap<Integer, Double> m5 = new HashMap<>();
        m5.put(1, 80.8);
        HashMap<Integer, Double> m6 = new HashMap<>();
        m6.put(3, 1000.9);
        HashMap<Integer, Double> m7 = new HashMap<>();
        m7.put(6, 50.5);
        HashMap<Integer, Double> m8 = new HashMap<>();
        m8.put(2, 300.3);
        HashMap<Integer, Double> m9 = new HashMap<>();
        m9.put(7, 105.2);
        HashMap<String, HashMap<Integer, Double>> animalName1 = new HashMap<>();
        animalName1.put("熊猫", m1);
        animalName1.put("大象", m2);
        animalName1.put("狮子", m3);
        maps.put("z1", animalName1);
        HashMap<String, HashMap<Integer, Double>> animalName2 = new HashMap<>();
        animalName2.put("老虎", m4);
        animalName2.put("企鹅", m5);
        animalName2.put("河马", m6);
        maps.put("z2", animalName2);
        HashMap<String, HashMap<Integer, Double>> animalName3 = new HashMap<>();
        animalName3.put("猴子", m4);
        animalName3.put("长颈鹿", m5);
        animalName3.put("孔雀", m6);
        maps.put("z3", animalName3);
        System.out.println(maps);


    }
}
